package com.kgc.ssm.mapper;

import com.kgc.ssm.entity.SysRoles;
import com.kgc.ssm.entity.SysRolesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface SysRolesMapper {
    long countByExample(SysRolesExample example);

    int deleteByExample(SysRolesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysRoles row);

    int insertSelective(SysRoles row);

    List<SysRoles> selectByExampleWithRowbounds(SysRolesExample example, RowBounds rowBounds);

    List<SysRoles> selectByExample(SysRolesExample example);

    SysRoles selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") SysRoles row, @Param("example") SysRolesExample example);

    int updateByExample(@Param("row") SysRoles row, @Param("example") SysRolesExample example);

    int updateByPrimaryKeySelective(SysRoles row);

    int updateByPrimaryKey(SysRoles row);
}